package com.gxl.butt.dto.vo;

import java.io.Serializable;

/**
 *
 * 返回 topic 对象
 * Created by guoxiaolin on 2018/7/16.
 */
public class TopicBean implements Serializable {

    private Long id;
    private String topicname;//主题名称

    private Integer partitionsum;//分区数量

    private Integer replicationsum;//副本数量

    private String remark;//主题说明文本

    private TopicBean topicBean;

    private String openid;

    public String getOpenid() {
        return openid;
    }

    public TopicBean setOpenid(String openid) {
        this.openid = openid;
        return topicBean;
    }

    public TopicBean getTopicBean() {
        return topicBean;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setTopicBean(TopicBean topicBean) {
        this.topicBean = topicBean;
    }

    public String getTopicname() {
        return topicname;
    }

    public TopicBean setTopicname(String topicname) {
        this.topicname = topicname;
        return topicBean;
    }

    public Integer getPartitionsum() {
        return partitionsum;
    }

    public TopicBean setPartitionsum(Integer partitionsum) {
        this.partitionsum = partitionsum;
        return topicBean;
    }

    public Integer getReplicationsum() {
        return replicationsum;
    }

    public TopicBean setReplicationsum(Integer replicationsum) {
        this.replicationsum = replicationsum;
        return topicBean;
    }

    public String getRemark() {
        return remark;
    }

    public TopicBean setRemark(String remark) {
        this.remark = remark;
        return topicBean;
    }

    @Override
    public String toString() {
        return "TopicBean{" +
                "id=" + id +
                ", topicname='" + topicname + '\'' +
                ", partitionsum=" + partitionsum +
                ", replicationsum=" + replicationsum +
                ", remark='" + remark + '\'' +
                ", topicBean=" + topicBean +
                '}';
    }
}
